import { request } from "@/utils/request.js"

// 首页-便捷服务
export function getHomepageInfo(data) {
  return request({
    url: '/wx/homepage/info',
    method: 'post',
    data
  })
}

// 首页-便捷服务-商户列表
export function getSupplierList(data) {
  return request({
    url: '/wx/supplier/list',
    method: 'post',
    data
  })
}

// 获取师傅排班时间 
export function getStaffWorkList(data) {
  return request({
    url: '/wx/supplier/worklist',
    method: 'post',
    data
  })
}

// 预约
export function orderSubscribe(data) {
  return request({
    url: '/wx/order/subscribe',
    method: 'post',
    data
  })
}

// 获取大厦名称
export function getBuildList(data) {
  return request({
    url: '/wx/build/list',
    method: 'post',
    data
  })
}
